﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace qltscd.Models.ScreenClient {
    public class DanhMucThietBiTheoHopDong {
        #region Constructor
        public DanhMucThietBiTheoHopDong () {
            DSThietBi = new List<BaseClient.DanhMucThietBi>();
        }
        #endregion

        #region Thong Tin Chung
        public virtual DateTime? ThoiDiemKhauHao { get; set; }
        public virtual DateTime? ThoiDiemBaoHanh { get; set; }
        public virtual decimal? TiGia { get; set; }
        public virtual int? IdentityLyDoTang { get; set; }
        public virtual int? IdentityLoaiTien { get; set; }
        [Required(ErrorMessage = "Mã hợp đồng không được để trống")]
        public virtual int? IdentityHopDong { get; set; }
        public virtual int? IdentityKieu { get; set; }
        public virtual int? IdentityNhaCungCap { get; set; }
        public virtual int? IdentityNuocSanXuat { get; set; }
        public virtual int? NCC { get; set; }
        public virtual int? NSX { get; set; }
        public virtual string ThoiGianKhauHao { get; set; }
        public virtual string ThoiGianBaoHanh { get; set; }
        public virtual decimal? NguyenGia { get; set; }
        #endregion

        #region Thong Tin Rieng Tung Thiet Bi
        public virtual List<BaseClient.DanhMucThietBi> DSThietBi { get; set; }
        #endregion
    }
}